import 'package:flutter/material.dart';
import 'package:notes_app/screens/note_list.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '巧思学科笔记',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        appBarTheme: AppBarTheme(brightness: Brightness.light),
        primarySwatch: Colors.blueGrey,
        textTheme: TextTheme(
          headline5: TextStyle(
            fontFamily: 'huipian',
            fontWeight: FontWeight.w500,
            color: Colors.black,
            fontSize: 20,
          ),
          bodyText2: TextStyle(
            fontFamily: 'huipian',
            fontWeight: FontWeight.w500,
            color: Colors.black,
            fontSize: 17,
          ),
          bodyText1: TextStyle(
            fontFamily: 'huipian',
            fontWeight: FontWeight.normal,
            color: Colors.black,
            fontSize: 18,
          ),
          subtitle2: TextStyle(
            fontFamily: 'huipian',
            fontWeight: FontWeight.normal,
            color: Colors.black,
            fontSize: 14,
          ),
        ),
      ),
      home: NoteList(),
    );
  }
}
